<!doctype html>
<html lang="zh-Hans">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css" >
    <link rel="stylesheet" href="assets/css/fontawesome.min.css" >
    <link rel="stylesheet" href="assets/plugins/overlayscrollbars/css/OverlayScrollbars.min.css">
    <link rel="stylesheet" href="assets/plugins/daterangepicker/daterangepicker.css" >
    <link rel="stylesheet" href="assets/css/backend.css" >
    <title>Fresns 管理中心</title>
  </head>
  <body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fresns-navbar">
      <a class="navbar-brand" href="#"><img src="assets/images/logo.png" height="30" alt="Fresns"></a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav mr-auto">
          <li class="nav-item"><a class="nav-link" href="index.html">仪表盘</a></li>
          <li class="nav-item"><a class="nav-link" href="system-language.html">系统</a></li>
          <li class="nav-item active"><a class="nav-link" href="operating-user.html">运营</a></li>
          <li class="nav-item"><a class="nav-link" href="themes.html">主题</a></li>
          <li class="nav-item"><a class="nav-link" href="plugins.html">插件</a></li>
          <li class="nav-item"><a class="nav-link" href="clients.html">客户端</a></li>
          <li class="nav-item"><a class="nav-link" href="store.html">应用市场</a></li>
        </ul>
        <span class="navbar-text">admin <a href="#">[退出]</a> <a href="https://fresns.cn" target="_blank">站点首页</a></span>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-xl-2 fresns-sidebar">
          <h3 class="d-none d-sm-block">运营</h3>
          <button class="btn btn-primary btn-block d-block d-sm-none" type="button" data-toggle="collapse" data-target="#sidebarNav" aria-controls="sidebarNav" aria-expanded="true">
            <i class="fas fa-list-ul"></i> 运营
          </button>
          <div class="collapse show" id="sidebarNav">
            <ul class="nav flex-column">
              <li class="nav-item"><a class="nav-link" href="operating-user.html"><i class="fas fa-users"></i> 用户配置</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-rename.html"><i class="far fa-keyboard"></i> 命名配置</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-interactive.html"><i class="far fa-list-alt"></i> 互动配置</a></li>
              <li class="nav-item"><a class="nav-link active" href="operating-emoji.html"><i class="far fa-smile-beam"></i> 表情配置</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-publish-post.html"><i class="far fa-edit"></i> 发表配置</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-filter.html"><i class="fas fa-spell-check"></i> 过滤配置</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-role.html"><i class="far fas fa-user-tag"></i> 用户角色</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-group.html"><i class="fas fa-columns"></i> 内容小组</a></li>
              <li class="nav-item"><a class="nav-link" href="operating-expand.html"><i class="fab fa-codepen"></i> 扩展管理</a></li>
            </ul>
            <div class="fresns-copyright">
              <p>Powered by Fresns</p>
            </div>
          </div>
        </div>

        <div class="col-sm-9 col-xl-10 fresns-content">
          <h3>表情配置</h3>
          <!-- Setting Start -->
          <form>
            <div class="alert alert-warning mb-3" style="margin-top:-10px;" role="alert">
              启用表情后将在编辑器的输入框有表情包列表，但是数据库原生支持 Emoji 表情符，所以不启用的情况下，用户也可以通过表情键盘输入 Emoji 表情。
            </div>
            <div class="table-responsive">
              <table class="table table-hover">
                <thead class="thead-light">
                  <tr>
                    <th scope="col" style="width:8%;">显示顺序</th>
                    <th scope="col" style="width:12%;">启用状态</th>
                    <th scope="col" style="width:15%;">表情小组名</th>
                    <th scope="col" style="width:42%;">表情标识图</th>
                    <th scope="col" style="width:8%;">表情数量</th>
                    <th scope="col" style="width:15%;">操作</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td class="align-middle"><input type="number" class="form-control" value="1"></td>
                    <td class="align-middle">
                      <div class="custom-control custom-switch">
                        <input type="checkbox" class="custom-control-input" id="default" checked>
                        <label class="custom-control-label" for="default">是否启用</label>
                      </div>
                    </td>
                    <td class="align-middle"><button type="button" class="btn btn-outline-secondary btn-block text-left" data-toggle="modal" data-target="#multi-language">默认</button></td>
                    <td class="align-middle"><input type="url" class="form-control" value="https://cdn.fresns.cn/emoji/default.png"></td>
                    <td class="align-middle">24</td>
                    <td class="align-middle">
                      <a href="#" class="btn btn-outline-primary btn-sm" role="button">管理</a>
                      <button type="button" class="btn btn-link btn-sm text-info">删除</button>
                    </td>
                  </tr>
                  <tr>
                    <td class="align-middle"><input type="number" class="form-control" value="2"></td>
                    <td class="align-middle">
                      <div class="custom-control custom-switch">
                        <input type="checkbox" class="custom-control-input" id="tuzki" checked>
                        <label class="custom-control-label" for="tuzki">是否启用</label>
                      </div>
                    </td>
                    <td class="align-middle"><button type="button" class="btn btn-outline-secondary btn-block text-left" data-toggle="modal" data-target="#multi-language">兔斯基</button></td>
                    <td class="align-middle"><input type="url" class="form-control" value="https://cdn.fresns.cn/emoji/tuzki.png"></td>
                    <td class="align-middle">24</td>
                    <td class="align-middle">
                      <a href="#" class="btn btn-outline-primary btn-sm" role="button">管理</a>
                      <button type="button" class="btn btn-link btn-sm text-info">删除</button>
                    </td>
                  </tr>
                  <tr>
                    <td class="align-middle"><input type="number" class="form-control" value="3"></td>
                    <td class="align-middle">
                      <div class="custom-control custom-switch">
                        <input type="checkbox" class="custom-control-input" id="coolmonkey" checked>
                        <label class="custom-control-label" for="coolmonkey">是否启用</label>
                      </div>
                    </td>
                    <td class="align-middle"><button type="button" class="btn btn-outline-secondary btn-block text-left" data-toggle="modal" data-target="#multi-language">酷猴</button></td>
                    <td class="align-middle"><input type="url" class="form-control" value="https://cdn.fresns.cn/emoji/coolmonkey.png"></td>
                    <td class="align-middle">16</td>
                    <td class="align-middle">
                      <a href="#" class="btn btn-outline-primary btn-sm" role="button">管理</a>
                      <button type="button" class="btn btn-link btn-sm text-info">删除</button>
                    </td>
                  </tr>
                  <tr>
                    <td class="align-middle"><input type="number" class="form-control" value="4"></td>
                    <td class="align-middle">
                      <div class="custom-control custom-switch">
                        <input type="checkbox" class="custom-control-input" id="grapeman" checked>
                        <label class="custom-control-label" for="grapeman">是否启用</label>
                      </div>
                    </td>
                    <td class="align-middle"><button type="button" class="btn btn-outline-secondary btn-block text-left" data-toggle="modal" data-target="#multi-language">呆呆男</button></td>
                    <td class="align-middle"><input type="url" class="form-control" value="https://cdn.fresns.cn/emoji/grapeman.png"></td>
                    <td class="align-middle">24</td>
                    <td class="align-middle">
                      <a href="#" class="btn btn-outline-primary btn-sm" role="button">管理</a>
                      <button type="button" class="btn btn-link btn-sm text-info">删除</button>
                    </td>
                  </tr>
                  <tr>
                    <td colspan="6" class="align-middle">
                      <button type="submit" class="btn btn-success mr-3">更新排序</button>
                      <button type="button" class="btn btn-sm btn-link text-secondary"><i class="fas fa-plus-circle"></i> 新增</button>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </form>
          <!-- Setting End -->
        </div>
      </div>
    </div>

    <!-- Modal -->
    <div class="modal fade" id="multi-language" tabindex="-1" role="dialog" aria-labelledby="multi-language" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="exampleModalLabel">多语言名称</h5>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <textarea class="form-control" id="addons_name" rows="3">"zh-Hans": "简体中文"
"zh-Hant": "繁體中文"
"en": "English"</textarea>
            <small class="form-text text-muted">多语言需客户端支持，否则无效。<br>一行一个，第一行为默认语言。<br>多语言“变量名”以 <a href="https://www.w3schools.com/tags/ref_language_codes.asp" target="_blank">HTML ISO Language Code</a> 为标准。</small>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-success">确认</button>
          </div>
        </div>
      </div>
    </div>

    <!-- JavaScript -->
    <script src="assets/js/jquery-3.5.1.slim.min.js"></script>
    <script src="assets/js/bootstrap.bundle.min.js"></script>
    <script src="assets/plugins/overlayscrollbars/js/jquery.overlayScrollbars.min.js"></script>
    <script src="assets/plugins/moment/moment.min.js"></script>
    <script src="assets/plugins/moment/moment-with-locales.min.js"></script>
    <script src="assets/plugins/daterangepicker/daterangepicker.js"></script>
    <script src="assets/js/backend.js"></script>
  </body>
</html>